<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Member/index')}">用户管理</a></li>
        <li class="active"><a href="#A" data-toggle="tab">用户详情</a></li>
    </ul>
    <php>$user_statuses=array("0"=>"普通会员","1"=>"黄金会员","2"=>"铂金会员","3"=>"区级合伙人","4"=>"市级合伙人","5"=>"省级合伙人");</php>
    <php>$user_account_statuses=array("0"=>"正常","1"=>"已冻结");</php>
    <form class="form-horizontal js-ajax-form margin-top-20" onsubmit="return false;"
        method="post">
        <fieldset>
            <div class="tabbable">
                <div class="tab-content">
                    <div class="tab-pane active" id="A">
                        <div class="form-group">
                            <label for="input-site-name" class="col-sm-2 control-label">用户姓名</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block" id="input-site-name">{$user.user_name}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-admin_url_password" class="col-sm-2 control-label">
                                身份证号
                            </label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block" id="input-admin_url_password">{$user.iden_card}</p>
                            </div>
                        </div>
                        <!--<div class="form-group">
                            <label for="input-site_adminstyle" class="col-sm-2 control-label">银行卡号</label>
                            <div class="col-md-6 col-sm-10">
                                <select class="form-control" name="admin_settings[admin_style]"
                                        id="input-site_adminstyle">
                                </select>
                            </div>
                        </div>-->
                        <div class="form-group">
                            <label for="input-site_icp" class="col-sm-2 control-label">手机号</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block" id="input-site_icp">{$user.mobile}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">账户余额</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block">{$user.balance}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">会员身份</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block">{$user_statuses[$user['level']]}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">状态</label>
                            <p class="help-block">{$user_account_statuses[$user['account_status']]}</p>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">会员关系</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block">{$user.member_count}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">交易量</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block">{$user.volume}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">推荐奖励</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block">{$user.recom_money}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">近一年交易量</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block"></p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">代理关系</label>
                            <div class="col-md-6 col-sm-10">
                                <p class="help-block"></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th width="50">ID</th>
            <th>银行卡号</th>
            <th>姓名</th>
            <th>身份证号</th>
            <th>预留手机号</th>
            <th>开户行</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="cardList" item="vo">
            <tr>
                <td>{$vo.credit_id}</td>
                <td>{$vo.credit_num}</td>
                <td>{$vo.credit_name}</td>
                <td>
                    {$vo.credit_iden_num}
                </td>
                <td>{$vo.credit_mobile}</td>
                <td>
                    {$vo.credit_deposit}
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>

</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>
